package com.hsh.MySQLUtil.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hsh.MySQLUtil.annotation.Wrapper;
import com.hsh.MySQLUtil.enmu.Comparison;
import lombok.Data;

/**
 * @author 初心
 * @date 2023/7/26 22:07
 */
@Data
public class Student {
    private Integer id;
    @Wrapper
    private String name;
    @Wrapper(value = Comparison.LT, column = "age")
    @TableField("age")
    private Integer age1;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge1() {
        return age1;
    }

    public void setAge1(Integer age1) {
        this.age1 = age1;
    }

}